package org.pupil.socket.codec;

import java.io.Serializable;

/**
 * @Description: 响应消息
 * @Author: pupil
 * @Date: 2024/07/09 下午 3:52
 */
public class RpcResponse implements Serializable {

    private Object data; // 响应返回的数据
    private Exception exception; // 响应返回的异常

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Exception getException() {
        return exception;
    }

    public void setException(Exception exception) {
        this.exception = exception;
    }
}
